package com.gocoolmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gocoolmall.common.utils.PageUtils;
import com.gocoolmall.product.entity.BrandEntity;
import com.gocoolmall.product.entity.CategoryBrandRelationEntity;
import com.gocoolmall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * Ʒ�Ʒ������
 *
 * @author zhangxiaobo
 * @email 1926992064@qq.com
 * @date 2020-12-09 16:35:23
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void seveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrand(Long brandId, String name);

    void updataCategory(Long catId, String name);

    List<BrandEntity> getBrankByCatId(Long catId);
}

